<?php
return array(
	//'配置项'=>'配置值'
    'DB_TYPE' => 'mysql',// 数据库类型
    'DB_HOST' => 'localhost',// 服务器地址
    'DB_NAME' => 'appposter',// 数据库名
    'DB_USER' => 'root',// 用户名
    'DB_PWD' => 'root',// 密码
    'DB_PORT' => '',// 端口
    'DB_PREFIX' => 'ap_',// 数据库表前缀

    'URL_MODEL' => 2,
    'TMPL_FILE_DEPR' => '_',

    'DATA_CACHE_TIME' => 60,

    define('TMPL_PATH','./Template/'),   //模版目录
    'DEFAULT_THEME' => 'View/Html', //默认主题

    //模板调用
    'TMPL_PARSE_STRING' => array(

        '__UPS__' => __ROOT__ . '/Uploads/',
        '__HUI__' => __ROOT__ . '/Public/Framework/hui_v2.3/',
        '__MUI__' => __ROOT__ . '/Public/Framework/mui/',
        '__BOOT__' => __ROOT__ . '/Public/Framework/bootstrap/',
        '__AJS__' => __ROOT__ . '/Template/Admin/View/Js/',
        '__ACSS__' => __ROOT__ . '/Template/Admin/View/Css/',
        '__HJS__' => __ROOT__ . '/Template/Home/View/Js/',
        '__HCSS__' => __ROOT__ . '/Template/Home/View/Css/',
        '__HIMG__' => __ROOT__ . '/Template/Home/View/Img/',
        '__APICSS__' => __ROOT__ . '/Template/Api/View/Css/',
        '__PUBSTA__' => __ROOT__ . '/Public/Static/',

    ),

    //上传路径
    'UPLOADS' => array(

        'PATH' => dirname(THINK_PATH) . '/Uploads/',
        'EXT' => array('jpg','png','jpeg','gif','jar'),
        'SIZE' => 1024 * 1024 * 20,
        'DIR' => './Uploads'

    ),

    //拓展类库
    'AUTOLOAD_NAMESPACE' => array(
        'Lib' => APP_PATH . 'Library'
    ),
);